package org.example.bighomework.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
//持久层，使用JPA
@Repository
public interface StudentRepository extends JpaRepository<Student, String> {
    List<Student> findAllByName(String name);
}
